#FROM registry.cn-qingdao.aliyuncs.com/x-super/openjdk:19-latest
FROM aomountainu/openjdk19
#ENV BUILD_TYPE prod

WORKDIR /App

COPY target/supervision.jar /App/app.jar

#ENTRYPOINT ["java","-XX:+UseZGC","-jar","app.jar","--spring.profiles.active=${BUILD_TYPE}"]
ENTRYPOINT ["java","-XX:+UseZGC","-jar","app.jar"]
